<!--# layout("/common/layout.html",{"jsBase":"/js/cms/sincerity/"}){ -->
<style type="text/css">
    .layui-form-checkbox{
        position: relative;
    }
</style>
<form class="layui-form" id="updateForm">
    <fieldset class="layui-elem-field">
        <legend>个人诚信信息</legend>
    <div class="layui-row">
        <div class="layui-form-item">
            <label class="layui-form-label">业务事项</label>
            <input type="hidden" name="id" value=${sincerity.id} />
            <div class="layui-input-inline" style="margin-left: 25px;">
            <!--#
                    var dicts = dict.dictDownQuery("buinessType");
                    var businessTypeArray = strutil.split(sincerity.businessType,",");
                    for(dict in  dicts){
                    if(dictLP.index % 4 == 0 ){
                -->
            </div>
            <div class="layui-input-inline">
                <!--# } -->
                <!--#
                if(array.contain(businessTypeArray,dict.value)){
                -->
                <input type="checkbox" name="standard" value="${dict.value}" title="${dict.name}" checked="checked">
                <!--#} -->
                <!--# else {-->
                <input type="checkbox" name="standard" value="${dict.value}" title="${dict.name}">
                <!--#} -->
                <!--#} -->
            </div>
        </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">证件类型</label>
                <div class="layui-input-inline">
                    <layui:simpleDictSelect style='layui-input-inline' type="idType"  value="${sincerity.idType}"
                                            id="idType" name="idType"  layVerify="required"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">证件号码</label>
                <div class="layui-input-inline">
                    <input type="text" id="identificationNumber" name="identificationNumber"  value="${sincerity.identificationNumber}"  lay-verify="required" class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">姓名</label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name"   lay-verify="required" class="layui-input" value="${sincerity.name}">
                </div>
            </div>
        </div>
    </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>黑名单原因</legend>
        <div class="layui-field-box">
            <div class="layui-form-item layui-form-text">
                <div class="layui-input-block">
                    <textarea id="reasonsBlacklist" name="reasonsBlacklist"  class="layui-textarea" >${sincerity.reasonsBlacklist}</textarea>
                </div>
            </div>
        </div>
    <layui:submitButtons id="updateButton" />
    </fieldset>
</form>
<!--#} -->
<script>

layui.use(['edit'], function(){
    var sincerityAdd = layui.edit
    sincerityAdd.init();
});
</script>
